<script setup lang="ts">
import Home from './components/Home.vue';
import { useCounterStore } from './store/counter';

const counterStore = useCounterStore();
</script>

<template>
  <div>
    App.vue - count: {{ counterStore.count }}
    <br />
    App.vue - doubleCount: {{ counterStore.doubleCount }}
    <br />
    <button @click="counterStore.addCount()">addCount</button>
  </div>

  <Home />
</template>
